package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.entity.po.DiseaseFile;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 病虫害表 视图
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "Disease 视图", description = "病虫害表 视图")
public class DiseaseVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    @Excel(name = "名称", orderNum = "0")
    private String name;

    /**
     * 类型 1 虫害  2 病害  0 其他
     */
    @ApiModelProperty(value = "类型 1 虫害  2 病害  0 其他")
    @Excel(name = "类型 1 虫害  2 病害  0 其他", orderNum = "0")
    private Integer type;

    /**
     * 分布与危害
     */
    @ApiModelProperty(value = "分布与危害")
    @Excel(name = "分布与危害", orderNum = "0")
    private String desc;

    /**
     * 病原/形态特征
     */
    @ApiModelProperty(value = "病原/形态特征")
    @Excel(name = "病原/形态特征", orderNum = "0")
    private String pathogeny;

    /**
     * 发生规律
     */
    @ApiModelProperty(value = "发生规律")
    @Excel(name = "发生规律", orderNum = "0")
    private String law;

    /**
     * 防治方法
     */
    @ApiModelProperty(value = "防治方法")
    @Excel(name = "防治方法", orderNum = "0")
    private String cure;

    /**
     * 危害对象
     */
    @ApiModelProperty(value = "危害对象")
    @Excel(name = "危害对象", orderNum = "0")
    private String objName;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", orderNum = "0")
    private String remark;

    /**
     * 修改人 
     */
    @ApiModelProperty(value = "修改人 ")
    @Excel(name = "修改人 ", orderNum = "0")
    private Integer dbUpdateId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbUpdateDate;

    @ApiModelProperty(value = "附件")
    private List<DiseaseFile> fileList;



    private String month;



}
